#include <iostream>
#include <sqlite3mc_cpp.h>

int main(){
    sqlite3mc::Database db("test_encrypted.db");
    db.setPassworld("123456");
    sqlite3mc::Result result = db.executeQuery("select id, name from person");
    for(const auto& row : result.rows()){
        for(const auto& col : row){
            std::cout << col << " ";
        }
        std::cout << std::endl;
    }
}